<!DOCTYPE html>
<html>
    <head>
        <meta name="viewport" content="width=device-width, height=device-height,inital-scale=1.0,maximum-scale=1.0;">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="format-detection" content="telephone=no">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>喝惠泽龙黄酒，抢888元现金大红包</title>
        <link href="/huizelong/css/style.css" rel="stylesheet" />
        <script src="/huizelong/css/jquery-1.8.3.min.js"></script>
    </head>
    <body>
        <div class="container">			
            <div class="content">
                <ul>
                    <li>
                        <a href="/mobile/Prize/rule" class="gz_btn"></a>
                        <img src="/huizelong/images/ind/ind_01.png" /></li>
                    <li><img src="/huizelong/images/ind/ind_02.png" /></li>
                    <li><img src="/huizelong/images/ind/ind_03.png" /></li>
                    <li><img src="/huizelong/images/ind/ind_04.png" /></li>
                    <li><img src="/huizelong/images/ind/ind_05.png" /></li>
                    <li><img src="/huizelong/images/ind/ind_06.png" /></li>
                    <li><img src="/huizelong/images/ind/ind_07.png" /></li>
                    <li><img src="/huizelong/images/ind/ind_08.gif" /></li>
                </ul>
            </div>
        </div>
        <!--开始默认弹出红包-->
        <div class="mb_div">
            <div class="mb_box"></div>
            <div class="fx_box_mr" id="button_in">
                <div class="close"></div>
                <div class="clear pt50"></div>
                <ul>
                    <li><img src="/huizelong/images/mr/mr_01.png" /></li>
                    <li><img src="/huizelong/images/mr/mr_02.png"/></li>
                    <li id="cb"><img src="/huizelong/images/mr/mr_03.png" /></li>
                    <li><img src="/huizelong/images/mr/mr_04.png" /></li>
                    <li><img src="/huizelong/images/mr/mr_05.png" /></li>
                    <li><img src="/huizelong/images/mr/mr_06.png" /></li>
                </ul>
            </div>
            <!--拆包结果-->
            <div class="fx_box_cb" id="button_in" style="display:none ;">
                <div class="close"></div>
                <div class="clear pt35"></div>
                <ul>
                    <li><img src="/huizelong/images/zj/zhongj_01.png" /></li>
                    <li class="bliang tc">
                        <!--这里是中奖概率 -->						
                        
                    </li>
                    <li id="fenxiang"><img src="/huizelong/images/zj/zhongj_03.png" /></li>
                    <li><img src="/huizelong/images/zj/zhongj_04.png" /></li>
                    <!--中奖用-->
                    <li><img src="/huizelong/images/zj/zhongj_05.png" /></li>
                    <!--没中奖用-->
                    <!--<li><img src="/huizelong/images/zj/zhongj_05.png" /></li>-->
                </ul>
            </div>	
            <!--分享效果-->
            <div class="fx_box_fx" id="button_in" style="top:30px; display: none;">
                <img src="/huizelong/images/fx/fx_01.png" />
                <img src="/huizelong/images/fx/fx_02.png" />
                <img src="/huizelong/images/fx/fx_03.png" />
                <img src="/huizelong/images/fx/fx_04.png" />
                <img src="/huizelong/images/fx/fx_05.png" />
            </div>			
        </div>
        <!--js开始-->
        <script>
            $(document).ready(function () {
                $("#cb").click(function () {
                    $.getJSON('/mobile/Prize/getCode',{id:'<?php echo $id;?>',code:'<?php echo $code;?>'},function(data){
                        if(data.code==1){
                            $(".fx_box_cb .bliang").html('<img src="/huizelong/images/zj/zj_'+data.msg+'.png" />');
                            $(".fx_box_cb").show();
                            $(".fx_box_mr").hide();
                        }
                        else{
                            $(".fx_box_cb .bliang").html('<img src="/huizelong/images/zj/zj_no.png" />');
                            $(".fx_box_cb").show();
                            $(".fx_box_mr").hide();
                        }
                    });
                    
                });
                $(".close,.mb_box,.fx_box_fx").click(function () {
                    $(".mb_div").hide();
                });
                $("#fenxiang").click(function () {
                    $(".fx_box_fx").show();
                    $(".fx_box_cb,.fx_box_mr").hide();
                });
            });

        </script>
    </body>
</html>
